<!-- ============================ Sidebar Start ============================ -->

<aside class="sidebar">
    <!-- sidebar close btn -->
    <button type="button" class="sidebar-close-btn text-gray-500 hover-text-white hover-bg-main-600 text-md w-24 h-24 border border-gray-100 hover-border-main-600 d-xl-none d-flex flex-center rounded-circle position-absolute"><i class="ph ph-x"></i></button>
    <!-- sidebar close btn -->

    <a href="/" class="sidebar__logo text-center p-20 position-sticky inset-block-start-0 bg-white w-100 z-1 pb-10">
        <img src="/static/img/logo.png" alt="Logo">
    </a>

    <div class="sidebar-menu-wrapper overflow-y-auto scroll-sm">
        <div class="p-20 pt-10">
            <ul class="sidebar-menu">
                <li class="sidebar-menu__item">
                    <a href="/admin/" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-house"></i></span>
                        <span class="text">首页</span>
                    </a>
                </li>
                <li class="sidebar-menu__item">
                    <a href="note.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-notepad"></i></span>
                        <span class="text">笔记列表</span>
                    </a>
                </li>

                <li class="sidebar-menu__item">
                    <a href="user.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-users"></i></span>
                        <span class="text">用户列表</span>
                    </a>
                </li>
                <li class="sidebar-menu__item">
                    <a href="user_type.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-apple-podcasts-logo"></i></span>
                        <span class="text">用户权限</span>
                    </a>
                </li>
                <li class="sidebar-menu__item">
                    <a href="user_action.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-pizza"></i></span>
                        <span class="text">用户行为</span>
                    </a>
                </li>

                <li class="sidebar-menu__item">
                    <a href="comments.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-chat-centered-dots"></i></span>
                        <span class="text">评论列表</span>
                    </a>
                </li>

                <li class="sidebar-menu__item<?php if($check_menu){echo ' activePage';}?>">
                    <a href="check.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-shield-check"></i></span>
                        <span class="text">审核列表</span>
                    </a>
                </li>

                <li class="sidebar-menu__item">
                    <a href="video_src.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-video"></i></span>
                        <span class="text">视频封面状态</span>
                    </a>
                </li>

                <li class="sidebar-menu__item">
                    <span class="text-gray-300 text-sm px-20 pt-20 fw-semibold border-top border-gray-100 d-block text-uppercase">数据操纵</span>
                </li>
                <li class="sidebar-menu__item">
                    <a href="search_control.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-file-magnifying-glass"></i></span>
                        <span class="text">搜索操控</span>
                    </a>
                </li>

                <li class="sidebar-menu__item">
                    <a href="note_control.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-git-merge"></i></span>
                        <span class="text">笔记操控</span>
                    </a>
                </li>

                <li class="sidebar-menu__item">
                    <a href="aibot.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-robot"></i></span>
                        <span class="text">AI评论</span>
                    </a>
                </li>
                <li class="sidebar-menu__item">
                    <a href="addbot.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-user-focus"></i></span>
                        <span class="text">Bot用户生成</span>
                    </a>
                </li>
                <li class="sidebar-menu__item">
                    <span class="text-gray-300 text-sm px-20 pt-20 fw-semibold border-top border-gray-100 d-block text-uppercase">设置</span>
                </li>
                <li class="sidebar-menu__item">
                    <a href="?recovtk" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-scan-smiley"></i></span>
                        <span class="text">身份恢复</span>
                    </a>
                </li>
                <li class="sidebar-menu__item">
                    <a href="setting.php" class="sidebar-menu__link">
                        <span class="icon"><i class="ph ph-gear"></i></span>
                        <span class="text">网站设置</span>
                    </a>
                </li>

            </ul>
        </div>

    </div>

</aside>
<!-- ============================ Sidebar End  ============================ -->